﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HRM.Model
{
    /// <summary>
    /// Dự án
    /// </summary>
    public interface IProjectService
    {
        List<DuAn> GetByAll();

        List<DuAn> SearchByProjectID(string id);

        List<DuAn> SearchByProjectName(string projectName);

        bool Update(string id, string name);

        bool Add(string id, string name);

        bool Delete(DuAn da);

        List<DuAn> GetPaging(int pageIndex, int pageSize);

        int GetNumberOfPages(int pageSize);

        bool DeleteList(List<DuAn> list);
    }
}
